package com.admin4j.server;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

/**
 * @author andanyang
 * @since 2023/11/1 16:41
 */
@SpringBootApplication
@MapperScan("com.admin4j.server.**.mapper")
@EnableGlobalMethodSecurity(prePostEnabled = true)
public class AdminServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(AdminServerApplication.class, args);
    }
}
